/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package command;

/**
 *
 * @author Emmanuel
 */
public class SubirSwitchComando implements Comando {

    private Luz luz;

    public SubirSwitchComando(Luz luz) {
        this.luz = luz;
    }
    
    
    @Override
    public void ejecutar() {
        luz.prender();
    }
    
}
